package com.unhz.generator.dao;


import com.unhz.generator.pojo.UserDict;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Author: 沈佳庆
 * @Description: 用户信息数据字典
 * @Date: Created in 下午 6:53 2018/1/23 0023
 * @Modified By:
 */
@Repository
public interface UserDictMapper extends com.unhz.generator.dao.BaseMapper<UserDict> {

    int getTotalRecordsByKeywords(@Param("keywords") String keywords);

    List<UserDict> findUserDictMap(Map<String, Object> map);

    List<UserDict> findAllType();

    int selectOrderByMax(@Param("type") Integer type);

    UserDict findDictById(@Param("dictId") Integer dictId);

    void deleteById(@Param("dictId") Integer dictId);

    List<UserDict> findJobType();

    List<UserDict> findRangeType();
}
